renderCustom
Custom foreground rendering for the widget. By default, will render the label.
Author
fzzyhmstrs
Since
0.6.0
Parameters
DrawContext
X position for rendering. This is not necessarily the widgets x position. Subclasses can shift this position, to, for example, shift the label over to make room for an icon.
Y position for rendering. This is not necessarily the widgets y position. Subclasses can shift this position, to, for example, shift the label up to fit something underneath it.
render width. Not necessarily widget width. If you modify x, it's recommended to counter-modify this to keep rendered space consistent with the background
render height. Not necessarily widget height. If you modify y, it's recommended to counter-modify this to keep rendered space consistent with the background
current horizontal screen position of the mouse
current vertical screen position of the mouse
screen frame delta